<template>
  <div>
    <el-button @click="tapType('v-text')">添加文字</el-button>
    <br>
    <el-button @click="tapType('v-button')">添加按钮</el-button>
    <br>
    <el-button @click="tapType('v-image')">添加图片</el-button>
  </div>
</template>

<script>
  export default {
    name: "choose",
    methods: {
      tapType(type) {
        this.$emit('tapType', type)
      }
    }
  }
</script>

<style scoped>

</style>
